package org.young.rbac.dao.dto;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author lmhd-emp
 * @date 2021/5/12 17:25
 * @description:
 */
public class SysUserDTO implements Serializable {

	/**
	 * 主键id
	 *
	 * @mbg.generated
	 */
	private Integer   id;
	/**
	 * 登录账号
	 *
	 * @mbg.generated
	 */
	private String    username;
	/**
	 * 真实姓名
	 *
	 * @mbg.generated
	 */
	private String    realname;
	/**
	 * 头像
	 *
	 * @mbg.generated
	 */
	private String    avatar;
	/**
	 * 生日
	 *
	 * @mbg.generated
	 */
	private LocalDate birthday;
	/**
	 * 性别(0-默认未知,1-男,2-女)
	 *
	 * @mbg.generated
	 */
	private Byte      sex;
	/**
	 * 电子邮件
	 *
	 * @mbg.generated
	 */
	private String    email;
	/**
	 * 电话
	 *
	 * @mbg.generated
	 */
	private String    phone;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public LocalDate getBirthday() {
		return birthday;
	}

	public void setBirthday(LocalDate birthday) {
		this.birthday = birthday;
	}

	public Byte getSex() {
		return sex;
	}

	public void setSex(Byte sex) {
		this.sex = sex;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
}
